home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / PolicyKit / policy / org.freedesktop.hal.power-management.policy < prev    next >
Encoding:
Extensible Markup Language  |  2009-07-05  |  4.2 KB  |  119 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE policyconfig PUBLIC
  3.  "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
  4.  "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
  5.  
  6. <!--
  7. Policy definitions for HAL's ACL Management mechanism
  8.  
  9. Copyright (c) 2007 David Zeuthen <david@fubar.dk>
  10.  
  11. HAL is licensed to you under your choice of the the Academic Free
  12. License Version 2.1, or the GNU General Public License version 2. Some
  13. individual source files may be under the GPL only. See COPYING for
  14. details.
  15. -->
  16.  
  17. <policyconfig>
  18.  
  19.   <action id="org.freedesktop.hal.power-management.shutdown">
  20.     <description>Shut down the system</description>
  21.     <message>System policy prevents shutting down the system</message>
  22.     <defaults>
  23.       <allow_inactive>no</allow_inactive>
  24.       <allow_active>yes</allow_active>
  25.     </defaults>
  26.   </action>
  27.  
  28.   <action id="org.freedesktop.hal.power-management.shutdown-multiple-sessions">
  29.     <description>Shut down the system when multiple users are logged in</description>
  30.     <message>System policy prevents shutting down the system while multiple users are logged in</message>
  31.     <defaults>
  32.       <allow_inactive>no</allow_inactive>
  33.       <allow_active>auth_admin</allow_active>
  34.     </defaults>
  35.   </action>
  36.  
  37.   <action id="org.freedesktop.hal.power-management.reboot">
  38.     <description>Reboot the system</description>
  39.     <message>System policy prevents rebooting the system</message>
  40.     <defaults>
  41.       <allow_inactive>no</allow_inactive>
  42.       <allow_active>yes</allow_active>
  43.     </defaults>
  44.   </action>
  45.  
  46.   <action id="org.freedesktop.hal.power-management.reboot-multiple-sessions">
  47.     <description>Reboot the system when multiple users are logged in</description>
  48.     <message>System policy prevents rebooting the system while multiple users are logged in</message>
  49.     <defaults>
  50.       <allow_inactive>no</allow_inactive>
  51.       <allow_active>auth_admin</allow_active>
  52.     </defaults>
  53.   </action>
  54.  
  55.   <action id="org.freedesktop.hal.power-management.set-powersave">
  56.     <description>Configure to system to prefer power savings</description>
  57.     <message>System policy prevents enabling power savings</message>
  58.     <defaults>
  59.       <allow_inactive>no</allow_inactive>
  60.       <allow_active>yes</allow_active>
  61.     </defaults>
  62.   </action>
  63.  
  64.   <action id="org.freedesktop.hal.power-management.suspend">
  65.     <description>Suspend the system</description>
  66.     <message>System policy prevents suspending the system</message>
  67.     <defaults>
  68.       <allow_inactive>no</allow_inactive>
  69.       <allow_active>yes</allow_active>
  70.     </defaults>
  71.   </action>
  72.  
  73.   <action id="org.freedesktop.hal.power-management.hibernate">
  74.     <description>Hibernate the system</description>
  75.     <message>System policy prevents hibernating the system</message>
  76.     <defaults>
  77.       <allow_inactive>no</allow_inactive>
  78.       <allow_active>yes</allow_active>
  79.     </defaults>
  80.   </action>
  81.  
  82.   <action id="org.freedesktop.hal.power-management.cpufreq">
  83.     <description>Configure CPU frequency scaling</description>
  84.     <message>System policy prevents CPU frequency scaling to be configured</message>
  85.     <defaults>
  86.       <allow_inactive>no</allow_inactive>
  87.       <allow_active>yes</allow_active>
  88.     </defaults>
  89.   </action>
  90.  
  91.   <action id="org.freedesktop.hal.power-management.lcd-panel">
  92.     <description>Set laptop panel brightness</description>
  93.     <message>System policy prevents adjusting the laptop panel brightness</message>
  94.     <defaults>
  95.       <allow_inactive>no</allow_inactive>
  96.       <allow_active>yes</allow_active>
  97.     </defaults>
  98.   </action>
  99.  
  100.   <action id="org.freedesktop.hal.power-management.light-sensor">
  101.     <description>Detect ambient light using light sensor</description>
  102.     <message>System policy prevents accessing the ambient light sensor</message>
  103.     <defaults>
  104.       <allow_inactive>no</allow_inactive>
  105.       <allow_active>yes</allow_active>
  106.     </defaults>
  107.   </action>
  108.  
  109.   <action id="org.freedesktop.hal.power-management.keyboard-backlight">
  110.     <description>Set keyboard backlight</description>
  111.     <message>System policy prevents adjusting the keyboard backlight</message>
  112.     <defaults>
  113.       <allow_inactive>no</allow_inactive>
  114.       <allow_active>yes</allow_active>
  115.     </defaults>
  116.   </action>
  117.  
  118. </policyconfig>
  119.